/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package helloscala.practise.chapter2

import java.awt._
import java.io.File
import java.io.File._ //like java static import
import java.util.{Map, HashMap} //optional import

import scala.util._
import control.BreakControl //since scala.util already imported

object FlexyImport {
  def closureImport: Unit = {
    import java.math.BigInteger.{
      ONE => _, //makes it invisible and unavailable to the importing scope
      TEN,
      ZERO => JAVAZERO
    }

//    println(ONE)
    println(TEN)
    println(JAVAZERO)
  }
}
